package com.party.core.dao.read.analysis;

import com.party.common.paging.Page;
import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.analysis.StatisticsFunnelCounter;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: party-temp
 * @description:
 * @author: yuguangqing
 * @create: 2018-09-05 10:53
 **/

@Repository
public interface StatisticsFunnelCountReadDao extends BaseReadDao<StatisticsFunnelCounter> {

    List<StatisticsFunnelCounter> listPageByOthers(@Param("funnelCount") StatisticsFunnelCounter funnelCount,
                                                   @Param("params") Map<String, Object> params, Page page);

    List<StatisticsFunnelCounter> findByFunnelFlowId(@Param("params") Map<String, Object> params);

}
